import request from '@/utils/request';

// 湖库断面树形数据
export function getLakeSegmentTree (query) {
  return request({
    url: "/tools/lakeSegmentTree",
    method: "get",
    params: query
  });
}


// 获取区划树形数据
export function getRegionTree (query) {
  return request({
    url: "/tools/segmentRegionTree",
    method: "get",
    params: query,
  });
}

//获取监测因子
export function getMonitorFactor (data) {
  return request({
    url: "/tools/bussinessItemData",
    method: "get",
    params: data,
  });
}
